package com.link.base.base.wechat.controller;

import com.link.base.base.wechat.model.TemTable;
import com.link.base.base.wechat.service.TableService;
import com.link.core.basic.controller.BasicController;
import com.link.core.basic.service.BasicService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;

/**
 * 为自定义模板消息的提供节点查询
 *
 * @author 路江
 * @date 2018-05
 */
@Controller
@RequestMapping("/link/table")
public class TableController extends BasicController<TemTable> {

    @Resource
    private TableService tableService;

    @Override
    public BasicService<TemTable> getBasicService() throws Exception {
        return tableService;
    }
}
